package com.sinry.web.responsitory;

import cn.hutool.db.Db;
import java.sql.SQLException;
import org.springframework.stereotype.Component;

/**
 * @Author: XinLei
 * @Date: 2021/12/11 00:16
 */
@Component
public class UserRepository {
	
		public Object getUsers() throws SQLException {
				return Db.use()
						.findAll("sinry_user");
		}
}
